package com.chinasofti.str;

import java.io.UnsupportedEncodingException;
import java.util.Arrays;

public class Demo01 {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String china = "中国";

        byte[] bys = china.getBytes("GBK");
//        System.out.println(Arrays.toString(bys));

        String ss = new String(bys,"UTF-8");
        System.out.println(ss);

    }
}
